pp108 : Creating a Solution

Creating a Solution

This topic describes the steps to create a new solution.
Important

Creating or using a solution is not a mandatory option. This feature has been provided in order to enable users to logically group their projects that exist in the same workspace, if required. Hence, wherever a procedure on using a solution is mentioned in the documentation, the procedure has to be followed only if a solution was used in the application. Else, the solution part in the procedure can be ignored.

A solution is a "virtual" container for the projects in a workspace. A solution helps in functionally and logically grouping of projects that exist in the same workspace. A workspace may contain multiple solutions and each solution may contain several projects. Projects can be attached to multiple solutions. At any given point of time, you can only have one active solution.
To create a new solution, you must follow the below steps.

  1. Open CUSP (http://<machine name:port number>/cordys), click and from the list of applications, click (Workspace Documents).

    Note:
    You may be prompted to select a Workspace if you have not selected one already.

    The Workspace Documents window appears.

  2. On the toolbar, click (Switch Solution) and select Manage Solutions. The Solution window appears.
  3. Click (Insert). The Create Solution wizard appears.
  4. Enter Name, Description, and Annotations for the solution in the Create Solution - Step 1 of 2 screen.
  5. Click Next. The Create Solution - Step 2 of 2 screen appears.
  6. Do one of the following:

    Option

    Description

    Create a solution without any project

    Click Finish.

    Create new project(s) and add them to the solution

    1. Click Next. The next page of the wizard appears.
    2. Click to create a project. The Project wizard appears.
    3. On the Project wizard, enter Name, Description and Annotations for the project and click Finish. The project is created and is positioned within the space on the Create Solution wizard.

    Tip:
    Repeat steps 2 and 3 to create more projects and add all of them to the solution.

    4.Click Finish.

    Select from the existing projects

    1. Click Next. The next page of the wizard appears.
    2. Click . The available projects appear in a drop-down list.
    3. Select the project. It is added to the solution and displayed in the space on the Create Solutionwizard.

    Tip:
    Repeat steps 2 and 3 to add more projects to the solution.

    4. Click Finish.

The solution is created along with the select project(s) and added to the workspace. By default, the Explorer view of the Workspace Documents is configured to show all projects as start points for navigating through the workspace. To restrict the Explorer view to a specific solution, click (Switch Solution) on the Workspace Documents toolbar and select the preferred solution from the drop-down list. To switch to the default Explorer view, click (Switch Solution) and select the option Show All Projects.

Tip:
To switch between solutions, on the Workspace Documents toolbar, click and select the Solution.

Related tasks

Viewing and Modifying Properties of a Solution
Adding Existing Projects to a Solution